export interface RoleBasic {
  code?: string
  name?: string
}

export interface RolePageParams extends RoleBasic {
  status?: boolean
  pageSize: number
  pageNum: number
}

export interface RolePageData extends RoleBasic {
  id: number
  status: boolean
  remark: string
  createdAt: string
  updatedAt: string
}

export interface RoleDetailData extends RoleBasic {
  id: number
  status: boolean
  remark: string
  createdAt: string
  updatedAt: string
  menuIds: number[]
}

export interface RoleSaveData extends RoleBasic {
  status: boolean
  remark: string
  menuIds: number[]
}
